package com.example.finallyjob.dao;

import com.example.finallyjob.entity.Article;
import com.example.finallyjob.entity.ArticleInfo;
import com.example.finallyjob.mapper.ActivityMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class ActivityImp implements ActivityMapper {
    @Autowired
    private ActivityMapper activityMapper;

    @Override
    public ArticleInfo AdminArtivleInfo(Article article) {
        return activityMapper.AdminArtivleInfo(article);
    }

    @Override
    public ArticleInfo UserArtivleInfo(Article article) {
        return activityMapper.UserArtivleInfo(article);
    }

    @Override
    public int DeleteT(Article article) {
        return activityMapper.DeleteT(article);
    }

    @Override
    public int upVideo(Article article) {
        return activityMapper.upVideo(article);
    }

    @Override
    public int upFile(Article article) {
        return activityMapper.upFile(article);
    }

    @Override
    public int UpdateAtrcile(Article article) {
        return activityMapper.UpdateAtrcile(article);
    }

    @Override
    public int warning(Article article) {
        return activityMapper.warning(article);
    }

    @Override
    public int likes(Article article) {
        return activityMapper.likes(article);
    }
}
